<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>微票儿导航</title>
		<link rel="stylesheet" href="./Bootstrap4.6.1/css/bootstrap.css">
		<script src="./Bootstrap4.6.1/js/jquery.js"></script>
		<script src="./Bootstrap4.6.1/js/bootstrap.bundle.js"></script>
		<style>
			/* 用媒体查询修改登录注册链接在小屏下的位置 */
			@media screen and (max-width:767px) {
				.loginBtn{
					/* position: absolute;
					right: 15%;
					bottom: 0; */
				}
			}
			
		</style>
	</head>
	<body>
		<nav class="navbar navbar-expand-md navbar-dark bg-dark px-md-5">
		  <a class="navbar-brand" href="#">
			  <img src="./img/logoMsg.png" alt="">
		  </a>
		 
		
		  <div class="collapse navbar-collapse" id="navbarSupportedContent">
		    <ul class="navbar-nav mr-auto">
		      <li class="nav-item active">
		        <a class="nav-link" href="#">全国</a>
		      </li>
		      <li class="nav-item">
		        <a class="nav-link" href="#">演出</a>
		      </li>
		      
		      <li class="nav-item">
		        <a class="nav-link ">电源</a>
		      </li>
			  <li class="nav-item">
			    <a class="nav-link ">我的微票儿<span class="badge badge-danger">new</span></a>
			  </li>
		    </ul>
		   <form class="form-inline">
		       <div class="input-group">
		         
		         <input type="text" class="form-control" placeholder="Username" aria-label="Username" aria-describedby="basic-addon1">
				<div class="input-group-prepend">
				  <span class="input-group-text rounded-right" id="basic-addon1">搜索</span>
				</div>
			   </div>
		     </form>
			
		  </div>
		  <!-- 放在导航菜单项的div外面，就不会隐藏 -->
		  <div class="loginBtn ">
			  <a class="text-white-50 ml-ld-5 ml-md-3 ml-0" href="">登录</a>
			  <a class="text-white-50 ml-3" href="">注册</a>
		  </div>
		  <!-- 移动按钮位置 -->
		  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
		    <span class="navbar-toggler-icon"></span>
		  </button>
		</nav>
		
	</body>
</html>